package zone.czh.woi.woim.server.channel.protocol.detector;

import lombok.Data;
import zone.czh.woi.woim.server.channel.protocol.initializer.ProtocolInitializer;

/**
*@ClassName: ProtocolDetector
*@Description: None
*@author woi
*/
@Data
public abstract class ProtocolDetector {
    protected int initialDetectRange;
    public ProtocolDetector(int initialDetectRange){
        this.initialDetectRange = initialDetectRange;
    }
    public abstract ProtocolInitializer.Intent detect(byte[] bytes, ProtocolInitializer.Intent latestIntent);

}
